package com.demo.mapper;

import java.util.List;

import com.demo.model.CanvasRes;

public interface CanvasResMapper {
    int deleteByPrimaryKey(String id);

    int insert(CanvasRes record);

    int insertSelective(CanvasRes record);

    CanvasRes selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CanvasRes record);

    int updateByPrimaryKey(CanvasRes record);
    /**
     * 查询画布资源
     * @param canvasId 画布ID
     * @return
     */
	List<CanvasRes> findByCanvasId(String canvasId);
	/**
	 * 删除画布资源
	 * @param canvasId
	 */
	void deleteByCanvasId(String canvasId);
}